Lightweight Session Programming in Scala

نویسندگان

  • Alceste Scalas
  • Nobuko Yoshida
چکیده

class Out[-A] { def send(msg: A): Unit

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Scala actors : Unifying thread - based and event - based programming Philipp

There is an impedance mismatch between message-passing concurrency and virtual machines, such as the JVM. VMs usually map their threads to heavyweight OS processes. Without a lightweight process abstraction, users are often forced to write parts of concurrent applications in an event-driven style which obscures control flow, and increases the burden on the programmer. In this paper we show how ...

متن کامل

Habanero-Scala: Async-Finish Programming in Scala

With the advent of the multicore era, it is clear that improvements in application performance will require parallelism. Programming models that utilize multiple cores offer promising directions for the future where core counts are expected to increase. There is, hence, a renewed interest in programming models that simplify the reasoning and writing of efficient parallel programs. In this paper...

متن کامل

Self-Assembly: Lightweight Language Extension and Datatype Generic Programming, All-in-One!

In this paper we show a general mechanism, called self-assembly, for lightweight language extensions (LLEs). LLEs allow users to define generic operations or properties that operate over a large class of types. With LLEs it is possible, for example, for users to define their own Java-style automatic serialization mechanism; or implement simple forms of custom pluggable type system extensions li...

متن کامل

Rings: an efficient Java/Scala library for polynomial rings

In this paper we brieƒy discuss Rings — an ecient lightweight library for univariate and multivariate polynomial arithmetic over arbitrary coecient rings. Basic algebra, GCDs and factorization of polynomials are implemented with the use of modern asymptotically fast algorithms. Rings provides a clean API for algebra and a fully typed hierarchy of mathematical structures. Scala API additionall...

متن کامل

Scala-gopher: CSP-style programming techniques with idiomatic Scala

Scala-gopher is a library-level implementation of process algebra [Communication Sequential Processes, see [2] as ususally enriched by π-calculus [4] naming primitives] in scala. In addition to support of a ’limbo/go-like’ [7] [9] channels/goroutine programming style scala-gopher provide set of operations following typical scala idiomatic. At first, let’s remind the fundamentals of a CSP model....

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016